package com.xhh.nphm.common.annotation;

import com.xhh.nphm.common.constant.Constants;

import java.lang.annotation.*;

/**
 * @description: 自定义数据源注解，用于指定数据源
 * @author: sun
 * @date: 2023-12-24 10:47
 * @version 1.0
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
@Inherited
public @interface DataSource {
    String value() default Constants.GENERAL_DS;
}

